-- GENERATED SPELL FOR [Warsong Guard] --


function spell0_32307(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32307', 595, 1)
end

function Sorts_32307(pUnit, Event)
local choix_sorts_32307 = math.random(0, 0)
if choix_sorts_32307 == 0 then
pUnit:RegisterEvent('spell0_32307', 1, 1)
end
end

function mob32307_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32307', math.random(1500, 3000), 1)
end

function mob32307_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32307_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32307_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32307, 1, 'mob32307_Action')
RegisterUnitEvent(32307, 2, 'mob32307_Leave')
RegisterUnitEvent(32307, 3, 'mob32307_Kill')
RegisterUnitEvent(32307, 4, 'mob32307_Die')
